package com.yunmaozj.tools.site.server.config;

import com.yunmaozj.tools.site.server.util.FileManager;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @author zhongminghong
 * @email zhongmh@yunmaozj.com
 * @create 2022-05-27 1:15
 */
@EnableWebMvc
@Configuration
public class ApplicationConfiguration {


    @Bean
    public FileManager fileManager() {
        return new FileManager("/tmp/site-server");
    }

}
